﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Xml.Linq;

namespace LEShortcut.Models
{
    public class AppCache
    {
        public AppCache()
        {
            CurrentCulture = new CultureInfo("en-us").LCID;
            Config = new AppConfig();
            Cultures = new Dictionary<int, string>();
            LeConfig = new List<XElement>();
            Languages = new Dictionary<string, string>();
        }

        public int CurrentCulture { get; set; }
        public bool IsNewVersion { get; set; }
        public Version NewVersion { get; set; }
        public AppConfig Config { get; set; }
        public Dictionary<int, string> Cultures { get; set; }
        public List<XElement> LeConfig { get; set; }
        public Dictionary<string, string> Languages { get; set; }
    }
}